package com.rc.saas.mini.model.elec;
import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.rc.saas.mini.common.base.BaseModel;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @Description 
 * @Author  
 * @Date: 2022-04-24
 */

@ApiModel(value=" elec_printer ", description=" 打印机设置(pri_printer) ")
public class ElecPrinter extends BaseModel{ 

    @ApiModelProperty(value = "ID")
    private Long printerId;
 
    @ApiModelProperty(value = "运营商")
    private String tenantCode;
 
    @ApiModelProperty(value = "打印机名称")
    private String printerName;
 
    @ApiModelProperty(value = "桩群ID")
    private Long elecStationId;
 
    @ApiModelProperty(value = "设备生产商组织机构代码ID")
    private Long manufacturerId;
 
    @ApiModelProperty(value = "打印机类型0 针式针式 1二维码打印机 默认0")
    private String printerType;
 
    @ApiModelProperty(value = "打印机编号")
    private String printerNo;
 
    @ApiModelProperty(value = "打印机逻辑地址")
    private String printerRtua;
 
    @ApiModelProperty(value = "打印纸已用次数")
    private Integer paperUsedCount;
 
    @ApiModelProperty(value = "打印纸可用次数")
    private Integer paperRestCount;
 
    @ApiModelProperty(value = "剩余次数发出警告")
    private Integer warnCount;
 
    @ApiModelProperty(value = "登录状态 0在线 1离线 默认0")
    private String loginStatus;
 
    @ApiModelProperty(value = "打印头状态 0正常 1 异常 默认0")
    private String headStatus;
 
    @ApiModelProperty(value = "打印机状态 0正常 1缺纸 2故障")
    private String status;
 
    @ApiModelProperty(value = "运营状态:0 未上线 1上线 2下线 默认0")
    private String operateStatus;
 
    @ApiModelProperty(value = "创建人")
    private String createdBy;
 
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createdTime;
 
    @ApiModelProperty(value = "null")
    private String lastUpdatedBy;
 
    @ApiModelProperty(value = "null")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date lastUpdatedTime;
 
    public Long getPrinterId() {
        return printerId;
    }

    public void setPrinterId(Long printerId) {
        this.printerId = printerId;
    }

    public String getTenantCode() {
        return tenantCode;
    }

    public void setTenantCode(String tenantCode) {
        this.tenantCode = tenantCode;
    }

    public String getPrinterName() {
        return printerName;
    }

    public void setPrinterName(String printerName) {
        this.printerName = printerName;
    }

    public Long getElecStationId() {
        return elecStationId;
    }

    public void setElecStationId(Long elecStationId) {
        this.elecStationId = elecStationId;
    }

    public Long getManufacturerId() {
        return manufacturerId;
    }

    public void setManufacturerId(Long manufacturerId) {
        this.manufacturerId = manufacturerId;
    }

    public String getPrinterType() {
        return printerType;
    }

    public void setPrinterType(String printerType) {
        this.printerType = printerType;
    }

    public String getPrinterNo() {
        return printerNo;
    }

    public void setPrinterNo(String printerNo) {
        this.printerNo = printerNo;
    }

    public String getPrinterRtua() {
        return printerRtua;
    }

    public void setPrinterRtua(String printerRtua) {
        this.printerRtua = printerRtua;
    }

    public Integer getPaperUsedCount() {
        return paperUsedCount;
    }

    public void setPaperUsedCount(Integer paperUsedCount) {
        this.paperUsedCount = paperUsedCount;
    }

    public Integer getPaperRestCount() {
        return paperRestCount;
    }

    public void setPaperRestCount(Integer paperRestCount) {
        this.paperRestCount = paperRestCount;
    }

    public Integer getWarnCount() {
        return warnCount;
    }

    public void setWarnCount(Integer warnCount) {
        this.warnCount = warnCount;
    }

    public String getLoginStatus() {
        return loginStatus;
    }

    public void setLoginStatus(String loginStatus) {
        this.loginStatus = loginStatus;
    }

    public String getHeadStatus() {
        return headStatus;
    }

    public void setHeadStatus(String headStatus) {
        this.headStatus = headStatus;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getOperateStatus() {
        return operateStatus;
    }

    public void setOperateStatus(String operateStatus) {
        this.operateStatus = operateStatus;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public String getLastUpdatedBy() {
        return lastUpdatedBy;
    }

    public void setLastUpdatedBy(String lastUpdatedBy) {
        this.lastUpdatedBy = lastUpdatedBy;
    }

    public Date getLastUpdatedTime() {
        return lastUpdatedTime;
    }

    public void setLastUpdatedTime(Date lastUpdatedTime) {
        this.lastUpdatedTime = lastUpdatedTime;
    }

}
